<%@ page language="java" import="java.util.*" import="java.sql.*" pageEncoding="UTF-8"%>
<jsp:useBean id="pos_plates" scope="page" class="software.Pos_plates"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>软件开发交流平台</title>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  <table width="1200" border="1">
    <tr>
      <td height="116" colspan="3">软件交流平台</td>
    </tr>
    <tr>
      <td width="186">搜索专区</td>
      <td width="834">&nbsp;</td>
      <td width="146">个人信息显示区</td>
    </tr>
  </table>
  
  <table width="1200" border="1">
  <% pos_plates.Pla_Read(1); %>
    <tr>
      <td colspan="7">帖子-&gt;帖子主题 (帖子数 :<%=pos_plates.getNum_Plates() %>)</td>
    </tr>
    <tr>
      <td width="35">标号</td>
      <td width="539">帖子标题</td>
      <td width="128">作者</td>
      <td width="145">最后回复者</td>
      <td width="73">回复/点击</td>
      <td width="88">发帖时间</td>
      <td width="146">最后回复时间</td>
    </tr>
    <%
    int k=pos_plates.getNum_Plates();
    for(int i=0;i<k;i++)
    {
    	pos_plates.getPost();
     %>
    <tr>
      <td>&nbsp;</td>
      <td><a href="post_content.jsp?plates=<%=pos_plates.getID_Post()%>"><%=pos_plates.getTitle() %></a></td>
      <td><%=pos_plates.getNam_User() %></td>
      <td><%=pos_plates.getNae_Use_Last() %></td>
      <td><%out.print(pos_plates.getNum_Reply()+" / "+pos_plates.getNum_Clicks()); %></td>
      <td><%=pos_plates.getTim_Post() %></td>
      <td><%=pos_plates.getTim_Last() %></td>
    </tr>
    <%
    } %>
  </table>
  </body>
</html>
